package com.gree.flowable.app.pojo.vo;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

import java.io.Serializable;
import java.util.ArrayList;
import java.util.List;

@ApiModel(description = "下一个节点的信息VO")
public class NextElementVO implements Serializable {
    @ApiModelProperty("节点名")
    private String name;
    @ApiModelProperty("节点描述")
    private String documentation;
    @ApiModelProperty("节点ID")
    private String elementId;

    @ApiModelProperty("该节点可以指定的审批用户")
    private List<UserVO> userList = new ArrayList<>();

    @ApiModelProperty("目标节点的连线名")
    private String flowName;

    @ApiModelProperty("目标节点的实例类型")
    private String excutionType;

    @ApiModelProperty("当前节点角色ID")
    private String roleId;

    @ApiModelProperty("当前节点角色Name")
    private String roleName;

    public String getRoleId() {
        return roleId;
    }

    public void setRoleId(String roleId) {
        this.roleId = roleId;
    }

    public String getRoleName() {
        return roleName;
    }

    public void setRoleName(String roleName) {
        this.roleName = roleName;
    }

    public String getExcutionType() {
        return excutionType;
    }

    public void setExcutionType(String excutionType) {
        this.excutionType = excutionType;
    }

    public List<UserVO> getUserList() {
        return userList;
    }

    public void setUserList(List<UserVO> userList) {
        this.userList = userList;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getDocumentation() {
        return documentation;
    }

    public void setDocumentation(String documentation) {
        this.documentation = documentation;
    }

    public String getElementId() {
        return elementId;
    }

    public void setElementId(String elementId) {
        this.elementId = elementId;
    }

    public String getFlowName() {
        return flowName;
    }

    public void setFlowName(String flowName) {
        this.flowName = flowName;
    }
    public NextElementVO() {
    }

    public NextElementVO(String name, String elementId) {
        this.name = name;
        this.elementId = elementId;
    }
}
